package com.wgu.crawl2.service.impl;

import com.wgu.crawl2.repo.XBQGChapterDetailRepository;
import com.wgu.crawl2.service.XBQGChapterDetailService;
import com.wgu.xbqg.XBQGChapterDetail;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.transaction.Transactional;

/**
 * @Author: w
 * @Date: 2019/6/28 10:14
 * @Version 1.0
 */
@Service
public class XBQGChapterDetailServiceImpl implements XBQGChapterDetailService {
    @Resource
    private XBQGChapterDetailRepository xbqgChapterDetailRepository;

    @Override
    @Transactional
    public XBQGChapterDetail save(XBQGChapterDetail xbqgChapterDetail) {
        return xbqgChapterDetailRepository.save(xbqgChapterDetail);
    }
}
